
<html>

<head>
<title>人事考评系统</title>
<script>
  function do_help(){
    window.open('/help/help.jsp?id=' + parent.topFrame.treeid.value,'帮助中心','toolbar=0 location=0 directories=0 status=0 menubar=0 scrollbars=0 resizable=0 width=700 height=420 left=150 top=20');
  }
  
  function do_exit(){
    if(confirm('你确认关闭系统吗？')){
	parent.opener = null;
	top.window.location = "/logout.TJ";
	
	//parent.close();
    }
  }
function do_relogin(){
    if(confirm('确认退出当前用户重新登陆系统么？')){
	parent.opener = null;
	window.open("/logout.TJ?relogin=Y");
	//top.window.close();
	}
  }

function MM_preloadImages() { 
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { 
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { 
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { 
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

</script>
<link href="include/css/default.css" rel="stylesheet" type="text/css">


</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/top/admin2_2.gif','images/top/admin3_2.gif','images/top/admin4_2.gif')"> 
<script language="javascript">
function click() {
  if (event.button==2) { 
    alert('禁止使用鼠标右键!')
  }
}
document.onmousedown=click
</script> 
<%
String Username="";
  if (loginUser != null){
   CDepartment Department=(new CInfoBean()).getDepartment(loginUser.getDepartID());
   Username=loginUser.getName();
   if(Department==null) Department=new CDepartment();
%>
<table width="100%"  height="84" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="left" valign="top" bgcolor="#00afe8"><table  border="0" cellspacing="0" cellpadding="0" width="100%">
      <tr>
        <td background="images/top/top_foshan.gif" style="height:68px"></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td background="images/top/top_bg.gif"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="4%" align="left"><img src="images/top/top_bg.gif" width="1" height="30"></td>
          <td width="69%"><table width="83%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="24"><img src="images/top/admin.gif" width="15" height="18"></td>
                <td width="537" class="top_comment"><span style="font-size:12px;color:#000000">
				<!--
				<%=Department.getAbbrname()%>&nbsp;&nbsp;<%=Username%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <%
                Calendar cal = Calendar.getInstance();
                java.text.SimpleDateFormat sdf =new java.text.SimpleDateFormat("yyyy年MM月dd日 EEE");
                %>
                <%=sdf.format(cal.getTime())%>
				-->
				
				系统管理  系统管理员      2007年08月25日 星期六
                </span></td>
              </tr>
            </table></td>
          <td width="27%" align="left">
		  <table width="80%"  border="0" cellspacing="0" cellpadding="0">
          <tr><td><input name="treeid" id="treeid" type="hidden"/></td></tr>
            <tr>
              <td>&nbsp;</td>              
              
              <td><a href="javascript:do_relogin()" 
			  onMouseOut="MM_swapImgRestore()" 
			  onMouseOver="MM_swapImage('admin2','','images/top/admin2_2.gif',1)"
			  ><img src="images/top/admin2_1.gif" name="admin2" width="56" height="24" border="0"></a></td>
              
              <td width="30" align="center"><img src="images/top/top_line.gif" width="2" height="24"></td>
			  
			  <td onClick="openHalfWindow('/help.TJ')"><a  href="javascript:" 
			  		onMouseOut="MM_swapImgRestore()" 
			  		onMouseOver="MM_swapImage('admin3','','images/top/admin3_2.gif',1)">
			  		<img src="images/top/admin3_1.gif" name="admin3" width="54" height="24" border="0"></a></td>
              
              <td width="30" align="center"><img src="images/top/top_line.gif" width="2" height="24"></td>
               <td><a href="javascript:do_exit()" 
			  onMouseOut="MM_swapImgRestore()" 
			  onMouseOver="MM_swapImage('admin4','','images/top/admin4_2.gif',1)"
			  ><img src="images/top/admin4_1.gif" name="admin4" width="58" height="24" border="0"></a></td>
            </tr>
          </table></td>
        </tr>
      </table></td>
  </tr>
</table>
<%
}
%>


</body>
</html>
